<template>
	<view class="myDialog">
		<view class="mark"></view>
		<view class="dialog">
			<view class="title">的女生看到了美女是</view>
			<view class="content">1111</view>
			<view class="bottom">
				<view v-if="isAffirm" class="affirm">
					<button type="default">确认</button>
					<button type="default">取消</button>
				</view>
				<view v-else class="agree">
					<button type="default">同意</button>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			isShow: {
				type: Boolean,
				default: true
			},
			title: {
				type: String
			},
			value: {
				type: String
			},
			isAffirm: {
				type: Boolean,
				default: true
			}
		}
	}
</script>

<style lang="less" scoped>
	page {
		position: absolute;
		top: 0;
		left: 0;
		height: 1000px;
	}
	.myDialog {
		position: relative;
	}
	.mark {
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		background-color: red;
	}
	.dialog {
		position: absolute;
		top: 140rpx;
		left: 50%;
		transform: translateX(-300rpx);
		width: 600rpx;
		padding: 40rpx;
		border-radius: 10rpx;
		background-color: #FFFFFF;
		.title {
			line-height: 100rpx;
			font-size: 18px;
			font-weight: 700;
		}
		.value {}
		.bottom {
			height: 100rpx;
			border-top: 1px solid #ebebeb;
		}
	}
</style>
